package com.sf.mapper;

import com.sf.domain.Department;
import com.sf.domain.Employee;
import com.sf.qo.EmployeeQueryObject;
import com.sf.qo.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {
    Employee Login(@Param("username") String username, @Param("password") String password);
    int selectForCount(EmployeeQueryObject qo);
    List<Employee> selectForList(EmployeeQueryObject qo);
    void deleteByPrimaryKey(Long id);
    int insert(Employee employee);
    void updateByPrimaryKey(Employee employee);
    Employee selectByPrimaryKey(Long id);
    List<Employee> selectAll();

}
